import torch.nn as nn
import torch



# 均方误差损失
criterion1 = nn.MSELoss()
print(criterion1)

# 交叉熵损失
criterion2 = nn.CrossEntropyLoss()
print(criterion2)


# 二分类交叉熵损失
criterion3 = nn.BCEWithLogitsLoss()
print(criterion3)
